package com.dms.entity;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{
	/**用户id*/
    private Integer user_id;
    /**所属团队id*/   
    private Integer team_id;
    /**所属团队*/  
    private Team team;
    /**联系电话*/
	private String  telephone;
	/**账户*/
    private String  student_num;
    /**昵称*/
    private String  username;
    /**用户头像*/
    private String  picture;
    /**用户密码*/
    private String  password;
    /**用户详细*/
    private String  message;
    /**用户角色*/
    private Integer role;
    /**用户分数*/
    private int userscore;
    /**提交缺陷数*/
    private int hostnumber;
    /**处理缺陷数*/
    private int handlernumber;
    /**签到天数*/
    private int signnumber;
    /**用户地址*/
    public String useraddress;
    /**为实验室贡献的发票或者其他钱*/
    private int money;  
    /**注册时间*/
    private Date register_time;
    /**用户邮箱*/
    private String email;
    /**老师*/
    private String teacher;
    
    private String professional;
    
    public String getProfessional() {
		return professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	public String getTeacher() {
		return teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}

	public Integer getTeam_id() {
		return team_id;
	}

	public void setTeam_id(Integer team_id) {
		this.team_id = team_id;
	}

	public Team getTeam() {
		return team;
	}

	public void setTeam(Team team) {
		this.team = team;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getHostnumber() {
		return hostnumber;
	}

	public void setHostnumber(int hostnumber) {
		this.hostnumber = hostnumber;
	}

	public int getHandlernumber() {
		return handlernumber;
	}

	public void setHandlernumber(int handlernumber) {
		this.handlernumber = handlernumber;
	}

	public int getSignnumber() {
		return signnumber;
	}

	public void setSignnumber(int signnumber) {
		this.signnumber = signnumber;
	}
	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}


	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}
    public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public String getUseraddress() {
		return useraddress;
	}
	public int getUserscore() {
		return userscore;
	}

	public void setUserscore(int userscore) {
		this.userscore = userscore;
	}

	public void setUseraddress(String useraddress) {
		this.useraddress = useraddress;
	}
    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getStudent_num() {
        return student_num;
    }

    public void setStudent_num(String student_num) {
        this.student_num = student_num;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password ;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Date getRegister_time() {
        return register_time;
    }

    public void setRegister_time(Date register_time) {
        this.register_time = register_time;
    }
@Override
public String toString() {
	return "User [user_id=" + user_id + ", team_id=" + team_id + ", team=" + team + ", telephone=" + telephone
			+ ", student_num=" + student_num + ", username=" + username + ", picture=" + picture + ", password="
			+ password + ", message=" + message + ", role=" + role + ", userscore=" + userscore + ", hostnumber="
			+ hostnumber + ", handlernumber=" + handlernumber + ", signnumber=" + signnumber + ", useraddress="
			+ useraddress + ", money=" + money + ", register_time=" + register_time + ", email=" + email + ", teacher="
			+ teacher + ", professional=" + professional + "]";
}

	
}